/*
                  Profile Class Definition
*/

#ifndef PROFILE_H
#define PROFILE_H

#include <string>
#include <boost/lexical_cast.hpp>

#include "StringUtil.h"

using namespace std;

using boost::lexical_cast;
using boost::bad_lexical_cast;

/*
    Profile String Format:

    name, experience, cpu, personality
*/

#define PSF_VARCOUNT        2

#define PSF_NAME            0
#define PSF_EXP             1

class Profile
{
    public:
        Profile();
        ~Profile();

        void CreateFromString(const string& strCreationString);

        string getName();
        void setName(const string& strNewName);

        int getExperience();
        void AddExperience(const int& iNewExp);
        void setExperience(const int& iNewExp);

    private:
        string strName;
        int iExperience;
};

#endif
